package com.mc.cloud.mall.categoryProduct.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName ProductConstant
 * @Author MC
 * @Date 2021/5/23 14:49
 * @Version 1.0
 **/
@Component
public class ProductConstant {

//    public static String FILE_UPLOAD_DIR = "D:\\images\\";
  public static String FILE_UPLOAD_DIR ;
    
    
    @Value("${file.upload.dir}")
    public void setFileUploadDir(String fileUploadDir){
        FILE_UPLOAD_DIR = fileUploadDir;
    }
}
